package com.lut.edu.apm.payCenter.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/** 订单
 * @author Zhao Suzhen
 * @date `2024/4/10`
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "t_user_order_info")
public class UserOrder {
    @TableId(type = IdType.AUTO, value = "uo_id")
    private int id;
    @TableField(value = "user_id")
    private String userId;
    @TableField(value = "order_no")
    private String orderNo;
    @TableField(value = "total_fee")
    private long totalFee;
    @TableField(value = "de_fee")
    private long deFee;
    @TableField(value = "re_fee")
    private long reFee;
    private int status;
    @TableField(value = "add_points")
    private long addPoints;
    @TableField(value = "gmt_created")
    private Timestamp gmtCreated;
    @TableField(value = "gmt_modified")
    private Timestamp gmtModified;
}
